/*
 * main.cpp
 *
 *  Created on: Mar 29, 2012
 *      Author: s146913
 */
#include "Samenvoeger.h"
#include "Computer.h"
#include "CameraBuffer.h"
#include "Verzender.h"

#include <iostream>
using namespace std;

int main() {

	Computer* pc = new Computer();
	Samenvoeger* sv = new Samenvoeger(pc);
	Verzender* vz = new Verzender(pc);

	vector<DrieBuffer*>* buf = pc->getIoDBuffers();

	for(int i = 0; i < 9; i++){
		CameraBuffer* cb = (CameraBuffer*) buf->at(i)->getFillBuffer();
		cb->setBeeld(i, i);
	}

	sv->start();
	vz->start();

	while(true) {
	}

	return 0;
}
